Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update FV3-JEDI ctest case to match MPAS-JEDI case #238

Open
wants to merge 17 commits into
base: develop
Choose a base branch
from

Conversation

SamuelDegelia-NOAA
Copy link
Contributor

@SamuelDegelia-NOAA SamuelDegelia-NOAA commented Nov 27, 2024

Description

This PR unifies the FV3-JEDI and MPAS-JEDI test cases in RDASApp. Now the FV3-JEDI test case and ctests are valid at the same time (2024-05-27, 00:00 UTC) which allows for better comparison between GSI (RRFSv1), FV3-JEDI, and MPAS-JEDI. Thanks to @chunhuazhou for providing the background files for this case!

The case data are now linked in to RDASApp/fix/expr_data/fv3_2024052700 through init.sh (similar to the MPAS-JEDI test data). The link_fv3jedi_expr.sh script is then added to create a new experiment directory during the build called RDASApp/expr/fv3_2024052700. New bumploc files and template jobs for running fv3-jedi and bump are also added for running this new case. The reference data are also updated for the new case.

Staged data and tools are also added for running GSI-based EnVar for this test case. The GSI configuration is taken from the RRFS_A retros on WCOSS2 with some minor changes including disabling dBZ state variables, disabling the hybrid (now using pure EnVar), a different mesonetuselist, and turning off ext_sonde.

Given that some developers are still using the old FV3-JEDI test for validation, the old case is still linked into RDASApp/fix/rrfs-test-data/rrfs-data_fv3jedi_2022052619 and RDASApp/bundle/rrfs-test-data/rrfs-data_fv3jedi_2022052619. As such, the old test data can still be accessed for validation experiments using RDASApp/scripts/setup_experiment.sh. But only the new test data is linked into RDASAppp/fix/expr_data and used for the ctests.

Issue(s) addressed

No issue was opened for this PR.

Dependencies (if applicable)

None.

Checklist

  • I have performed a self-review of my own code.
  • I have run rrfs tests before creating the PR (if applicable).
  • I have staged the new FV3-LAM test data on RDAS_DATA
  • I have staged the GSI test data on RDAS_DATA

@@ -154,6 +154,7 @@ if [[ $GSI_TEST_DATA == "YES" ]]; then
sed -i "s#@YOUR_PATH_TO_GSI@#${YOUR_PATH_TO_GSI}#g" ./run_gsi.sh
sed -i "s#@SLURM_ACCOUNT@#${SLURM_ACCOUNT}#g" ./run_gsi.sh
sed -i "s#@MACHINE_ID@#${MACHINE_ID}#g" ./run_gsi.sh
sed -i "s#ANAL_TIME@#2022052619#g" ./run_gsi.sh
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the picky comment, Lines 154-157 may be merged into one sed command.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't mean we have to modify this, but if we would like to modify it, here is a reference for running multiple sed commands in one line:
https://github.com/NOAA-EMC/rrfs-workflow/blob/62b7336628738c5d9f94a87a80aa864e15e0adc5/scripts/exrrfs_fcst.sh#L69

guoqing-noaa
guoqing-noaa previously approved these changes Nov 27, 2024
Copy link
Collaborator

@guoqing-noaa guoqing-noaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

We can run CI tests when it is ready.

@SamuelDegelia-NOAA
Copy link
Contributor Author

SamuelDegelia-NOAA commented Nov 30, 2024

I just pushed an update to use the larger set of obs for the new ctests instead of the single ob yamls used previously. I had to remove the ATMS obs since FV3-JEDI expects fields with different names than our restart files have. I also had to recreate the domain check obs since the FV3 domain is slightly different from our MPAS domain.

This commit also switches the FV3-JEDI ctest from LETKF to GETKF (split mode) to better match our MPAS-JEDI configuration.

@rrfsbot
Copy link
Collaborator

rrfsbot commented Nov 30, 2024

PASSED on hera

started build_and_test on hera at UTC time: Sat Nov 30 13:19:05 UTC 2024
finished at UTC time: Sat Nov 30 14:17:32 UTC 2024

Test project /scratch1/NCEPDEV/fv3-cam/rrfsbot/PRs_RDASApp/238/build/rrfs-test
    Start 2: rrfs_fv3jedi_2024052700_getkf_observer
    Start 5: rrfs_mpasjedi_2024052700_getkf_observer
    Start 1: rrfs_fv3jedi_2024052700_Ens3Dvar
    Start 4: rrfs_mpasjedi_2024052700_Ens3Dvar
    Start 7: rrfs_mpasjedi_2024052700_bumploc
    Start 8: rrfs_bufr2ioda_msonet
1/8 Test #8: rrfs_bufr2ioda_msonet .....................   Passed   26.47 sec
2/8 Test #7: rrfs_mpasjedi_2024052700_bumploc ..........   Passed  116.85 sec
3/8 Test #1: rrfs_fv3jedi_2024052700_Ens3Dvar ..........   Passed  138.33 sec
4/8 Test #2: rrfs_fv3jedi_2024052700_getkf_observer ....   Passed  156.97 sec
    Start 3: rrfs_fv3jedi_2024052700_getkf_solver
5/8 Test #5: rrfs_mpasjedi_2024052700_getkf_observer ...   Passed  308.23 sec
    Start 6: rrfs_mpasjedi_2024052700_getkf_solver
6/8 Test #4: rrfs_mpasjedi_2024052700_Ens3Dvar .........   Passed  424.37 sec
7/8 Test #3: rrfs_fv3jedi_2024052700_getkf_solver ......   Passed  388.39 sec
8/8 Test #6: rrfs_mpasjedi_2024052700_getkf_solver .....   Passed  1356.44 sec

100% tests passed, 0 tests failed out of 8

Label Time Summary:
mpi            = 2916.04 sec*proc (8 tests)
rdas-bundle    = 2916.04 sec*proc (8 tests)
script         = 2916.04 sec*proc (8 tests)

Total Test time (real) = 1664.70 sec

workdir: /scratch1/NCEPDEV/fv3-cam/rrfsbot/PRs_RDASApp/238

@rrfsbot
Copy link
Collaborator

rrfsbot commented Nov 30, 2024

FAILED on hercules

started build_and_test on hercules at UTC time: Sat Nov 30 13:15:49 UTC 2024
finished at UTC time: Sat Nov 30 14:21:11 UTC 2024

Test project /work/noaa/wrfruc/rrfsbot/PRs_RDASApp/238/build/rrfs-test
    Start 2: rrfs_fv3jedi_2024052700_getkf_observer
    Start 5: rrfs_mpasjedi_2024052700_getkf_observer
    Start 1: rrfs_fv3jedi_2024052700_Ens3Dvar
    Start 4: rrfs_mpasjedi_2024052700_Ens3Dvar
    Start 7: rrfs_mpasjedi_2024052700_bumploc
    Start 8: rrfs_bufr2ioda_msonet
1/8 Test #8: rrfs_bufr2ioda_msonet .....................   Passed   33.47 sec
2/8 Test #1: rrfs_fv3jedi_2024052700_Ens3Dvar ..........   Passed  143.65 sec
3/8 Test #7: rrfs_mpasjedi_2024052700_bumploc ..........   Passed  160.48 sec
4/8 Test #2: rrfs_fv3jedi_2024052700_getkf_observer ....   Passed  257.57 sec
    Start 3: rrfs_fv3jedi_2024052700_getkf_solver
5/8 Test #4: rrfs_mpasjedi_2024052700_Ens3Dvar .........***Failed  412.32 sec
6/8 Test #3: rrfs_fv3jedi_2024052700_getkf_solver ......   Passed  358.96 sec
7/8 Test #5: rrfs_mpasjedi_2024052700_getkf_observer ...   Passed  629.64 sec
    Start 6: rrfs_mpasjedi_2024052700_getkf_solver
8/8 Test #6: rrfs_mpasjedi_2024052700_getkf_solver .....   Passed  1406.93 sec

88% tests passed, 1 tests failed out of 8

Label Time Summary:
mpi            = 3403.01 sec*proc (8 tests)
rdas-bundle    = 3403.01 sec*proc (8 tests)
script         = 3403.01 sec*proc (8 tests)

Total Test time (real) = 2037.52 sec

The following tests FAILED:
	  4 - rrfs_mpasjedi_2024052700_Ens3Dvar (Failed)
Errors while running CTest
Output from these tests are in: /work/noaa/wrfruc/rrfsbot/PRs_RDASApp/238/build/rrfs-test/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.

workdir: /work/noaa/wrfruc/rrfsbot/PRs_RDASApp/238

@rrfsbot
Copy link
Collaborator

rrfsbot commented Nov 30, 2024

PASSED on jet

started build_and_test on jet at UTC time: Sat Nov 30 13:16:25 UTC 2024
finished at UTC time: Sat Nov 30 14:21:45 UTC 2024

Test project /lfs5/BMC/wrfruc/rrfsbot/PRs_RDASApp/238/build/rrfs-test
    Start 2: rrfs_fv3jedi_2024052700_getkf_observer
    Start 5: rrfs_mpasjedi_2024052700_getkf_observer
    Start 1: rrfs_fv3jedi_2024052700_Ens3Dvar
    Start 4: rrfs_mpasjedi_2024052700_Ens3Dvar
    Start 7: rrfs_mpasjedi_2024052700_bumploc
    Start 8: rrfs_bufr2ioda_msonet
1/8 Test #8: rrfs_bufr2ioda_msonet .....................   Passed   41.65 sec
2/8 Test #7: rrfs_mpasjedi_2024052700_bumploc ..........   Passed  177.87 sec
3/8 Test #1: rrfs_fv3jedi_2024052700_Ens3Dvar ..........   Passed  181.39 sec
4/8 Test #2: rrfs_fv3jedi_2024052700_getkf_observer ....   Passed  222.84 sec
    Start 3: rrfs_fv3jedi_2024052700_getkf_solver
5/8 Test #5: rrfs_mpasjedi_2024052700_getkf_observer ...   Passed  417.53 sec
    Start 6: rrfs_mpasjedi_2024052700_getkf_solver
6/8 Test #4: rrfs_mpasjedi_2024052700_Ens3Dvar .........   Passed  608.89 sec
7/8 Test #3: rrfs_fv3jedi_2024052700_getkf_solver ......   Passed  434.95 sec
8/8 Test #6: rrfs_mpasjedi_2024052700_getkf_solver .....   Passed  1607.45 sec

100% tests passed, 0 tests failed out of 8

Label Time Summary:
mpi            = 3692.56 sec*proc (8 tests)
rdas-bundle    = 3692.56 sec*proc (8 tests)
script         = 3692.56 sec*proc (8 tests)

Total Test time (real) = 2025.01 sec

workdir: /lfs5/BMC/wrfruc/rrfsbot/PRs_RDASApp/238

@rrfsbot
Copy link
Collaborator

rrfsbot commented Dec 1, 2024

PASSED on hercules

started build_and_test on hercules at UTC time: Sun Dec 1 02:21:14 UTC 2024
finished at UTC time: Sun Dec 1 03:27:17 UTC 2024

Test project /work/noaa/wrfruc/rrfsbot/PRs_RDASApp/238/build/rrfs-test
    Start 2: rrfs_fv3jedi_2024052700_getkf_observer
    Start 5: rrfs_mpasjedi_2024052700_getkf_observer
    Start 1: rrfs_fv3jedi_2024052700_Ens3Dvar
    Start 4: rrfs_mpasjedi_2024052700_Ens3Dvar
    Start 7: rrfs_mpasjedi_2024052700_bumploc
    Start 8: rrfs_bufr2ioda_msonet
1/8 Test #8: rrfs_bufr2ioda_msonet .....................   Passed   49.92 sec
2/8 Test #1: rrfs_fv3jedi_2024052700_Ens3Dvar ..........   Passed  147.48 sec
3/8 Test #2: rrfs_fv3jedi_2024052700_getkf_observer ....   Passed  264.74 sec
    Start 3: rrfs_fv3jedi_2024052700_getkf_solver
4/8 Test #3: rrfs_fv3jedi_2024052700_getkf_solver ......   Passed  415.10 sec
5/8 Test #4: rrfs_mpasjedi_2024052700_Ens3Dvar .........   Passed  719.15 sec
6/8 Test #5: rrfs_mpasjedi_2024052700_getkf_observer ...   Passed  824.07 sec
    Start 6: rrfs_mpasjedi_2024052700_getkf_solver
7/8 Test #7: rrfs_mpasjedi_2024052700_bumploc ..........   Passed  836.35 sec
8/8 Test #6: rrfs_mpasjedi_2024052700_getkf_solver .....   Passed  1245.97 sec

100% tests passed, 0 tests failed out of 8

Label Time Summary:
mpi            = 4502.78 sec*proc (8 tests)
rdas-bundle    = 4502.78 sec*proc (8 tests)
script         = 4502.78 sec*proc (8 tests)

Total Test time (real) = 2070.54 sec

workdir: /work/noaa/wrfruc/rrfsbot/PRs_RDASApp/238

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants